package com.athena.framework.authority;

import javax.servlet.ServletRequest;
import java.util.List;

/**
 * 动态设置权限必须实现该接口
 */
public interface Permission {

    /**
     * 在该方法中返回权限list
     * @param request
     * @return
     */
    List<String> getPermission(ServletRequest request);
}
